
.PHONY: all clean cleanall test rebuild analyze commit

all:
	make -C src
clean:
	make clean -C src
	rm -f src/canvas
cleanall:
	make cleanall -C src
test:
	make test -C src
rebuild:
	make rebuild -C src
analyze:
	make analyze -C src
commit: cleanall
	@echo -e "\e[0;32mcommiting " "\e[1;35mcanvas\e[0m"
	git add .
	git diff --cached
	git commit || true

